package com.qp.bookkeeping.business.book.model.businessEnum;

/**
 * @author xutianqi
 */
public enum BookType {
    INCOME(0, "income"),
    EXPENDITURE(1, "expenditure"),
    ALL(2, "all");

    private Integer code;
    private String name;

    BookType(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
